package com.rabbiter.oes.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName(value = "score")
@ApiModel(value = "成绩管理表")
public class Score {

    @TableId(value = "scoreId", type = IdType.AUTO)
    @ApiModelProperty(value = "分数编号")
    private Integer scoreId;

    @TableField(value = "examCode")
    @ApiModelProperty(value = "考试编号")
    private Integer examCode;

    @TableField(value = "studentId")
    @ApiModelProperty(value = "学号")
    private Integer studentId;

    @TableField(value = "subject")
    @ApiModelProperty(value = "课程名称")
    private String subject;

    @TableField(value = "ptScore")
    @ApiModelProperty(value = "平时成绩")
    private Integer ptScore;

    @TableField(value = "etScore")
    @ApiModelProperty(value = "期末成绩")
    private Integer etScore;

    @TableField(value = "score")
    @ApiModelProperty(value = "总成绩")
    private Integer score;

    @TableField(value = "answerDate")
    @ApiModelProperty(value = "答题日期")
    private String answerDate;

    @TableField(value = "e_type")
    @ApiModelProperty(value = "考试类型")
    private String eType;

}

